<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./js/index.js"></script>
  </head>
  <body>
    12121
    <script>
      console.log("121212");
      function requestData() {
        const xmlRequest = new XMLHttpRequest();
        xmlRequest.open(
          "GET",
          "http://10.1.2.127:8101/sysResourceApply/getSysResourceChildApplyInfo?id=49",
          false
        );
        xmlRequest.send();
        xmlRequest.onreadystatechange = function (e) {
          if (xmlRequest.readyState == 4 && xmlRequest.status == 200) {
            console.log(e, 12);
          } else {
            console.log("失败了");
          }
        };
      }
    </script>
  </body>
</html>
